<?php


namespace app\api\model;


use think\Model;

class UserWalletLogModel extends Model
{
    protected $table = 'fa_user_wallet_log';

    //到账时间
    public function getCreateTimeTextAttr($value, $data)
    {
        $value = $value ? $value : (isset($data['create_time']) ? $data['create_time'] : '');
        return is_numeric($value) ? date("Y-m-d H:i:s", $value) : $value;
    }


}
